$Revision:   1.2  $
$Author:   whb  $
$Date:   18 Jan 1990 17:46:36  $

"StmEd" on-line help file
Release 4.02, April 1989
(C) Copyright 1989 MicroSim Corporation
SIN 1

Sinusoidal (SIN) Stimulus

The SIN form causes the current or voltage to start at <ioff/voff> and stay 
there for <td> seconds.  Then, the current or voltage becomes an exponentially 
dampled sine wave described by this formula:

 voff + vampl * sin( 2pi * ( freq * (TIME-td) -phase/360))*e-(TIME-td)*df

Parameters			                  Units    Default
----------				          -----	  -------
 <ioff/voff>	offset current/voltage            amp/volt none
 <iampl/vampl>	peak amplitude of current/voltage amp/volt none
 <freq>		frequency 	    	  	  Hertz	   1/TSTOP
 <td>	        delay				  sec	   0
 <df>	        damping factor			  1/sec	   0
 <phase>	phase				  degree   0



An '*' in front of a parameter name indicates that the default value for
the parameter is being used.
DGEDIT 1

The transient specification for a digital stimulus consists
of a series of "commands" that describe the output of the
stimulus over time.  If the topmost command has a '+' in
front of it, there are more commands before it that are not
being displayed.  If the bottommost command has a '+' in
front of it, there are more commands after it that are not
being displayed.  To see commands that are not being
displayed, use the Modify_command command.

Add_command displays a menu of the available commands that
can be used to define the stimulus.

The SET command prompts you to enter a <time> and a <value>.
At the given <time>, the output of the stimulus changes to
<value>.  The format of <value> depends on the "radix" of
the stimulus.  When you have entered all the SET commands
you want, press <Esc> to return to the menu of commands.

The GOTO N TIMES command prompts you to enter a <time>, a
<label name> and the number of times you want to repeat the
loop.  When the "goto" is encountered, the statement
following the <label name> is immediately executed.

The GOTO UNTIL GE/GT/LT/LE commands prompt you to enter a
<time>, a <label name> and a <value>.  The "goto" is done
until the value of the stimulus is GE (greater than or
equal), GT (greater than), LT (less than ) or LE ( less than
or equal to ) the value specified.  This command only
appears if the stimulus has more than one output node.

The INCR BY command prompts you for a <time> and a <value>.
The output of the stimulus is incremented by <value> each
time this command is executed.This command only appears if
the stimulus has more than one output node.

The DECR BY command prompts you for a <time> and a <value>.
The output of the stimulus is decremented by <value> each
time this command is executed.  This command only appears if
the stimulus has more than one output node.

The LABEL command prompts you for a label name.  This allows
you to define the labels that are used in "goto" commands.





